package home_8_12;

import java.util.Arrays;

/**
 * 将一个字符数组的值（neusofteducation）拷贝到另一个字符数组中。
 */
public class home02 {
    public static void main(String[] args) {
        int []s = {123,234,456,567};
        System.out.println(Arrays.toString(kaobei(s)));

    }
    public static int[] kaobei(int[] nums){
        int[] m = new int[nums.length];
        for (int i = 0; i < nums.length ; i++) {
            m[i] = nums[i];
        }

        return m;
    }
}
